package
{
	import core.manager.SoundManager;
	import core.Util;
	
	import flash.display.MovieClip;
	import flash.events.MouseEvent;
	
	public class NoCashPanel extends MovieClip
	{
		public function NoCashPanel()
		{
			super();
			this.addFrameScript(5,func5);
			this.addEventListener(MouseEvent.CLICK,clickHandler);
			SoundManager.instance.play("errorMessage");
		}
		
		private function func5():void {
			stop();
		}
		
		private function clickHandler(event:MouseEvent):void {
			Util.removeChild(this);
		}
	}
}